class Curriculodado < ActiveRecord::Base

  set_table_name 'dadoscurriculo'

  belongs_to :option, :foreign_key => "opcao"
  belongs_to :turno, :foreign_key => "turno"
  
  has_many :pupil


  def to_s
    self.option.nome
  end


end
